<?php
/**
 * Created by PhpStorm.
 * User: venki
 * Date: 2023/11/18
 * Time: 15:49
 */

namespace app\events;

use yii\base\Event;

class MessageEvent extends Event
{
    public $message;

//    public function __construct()
//    {
////        $this->message = $message;
//        echo '先2';
//    }

    public function onSendMessage()
    {
        echo 3;
    }
}